//
//  GGFilterManager.h
//  视频录制实时切换滤镜
//
//  Created by 聚点互动iOS on 2020/12/28.
//

#import <Foundation/Foundation.h>
#import <GPUImage/GPUImage.h>
#import "GGFilterMaterialModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface GGFilterManager : NSObject

/// 框架默认滤镜模型数组
@property (nonatomic, strong) NSMutableArray<GGFilterMaterialModel *> *defaults;

/// 自定义的滤镜模型数组
@property (nonatomic, strong) NSMutableArray<GGFilterMaterialModel *> *defines;

/// 单例
+ (instancetype)manager;


/// 通过滤镜 ID 返回滤镜对象
/// @param filterID 滤镜 ID
- (GPUImageFilter *)filterWithFilterID:(NSString *)filterID;

@end

NS_ASSUME_NONNULL_END
